package com.ss.android.wenda.answer.list;

import android.app.Activity;
import android.view.View;
import com.ss.android.article.common.model.ShareData;
import com.ss.android.article.share.e.b;
import com.ss.android.wenda.model.Question;
import org.json.JSONObject;

public final class a implements b {
    private Question a;
    private com.ss.android.wenda.d.a b;

    public a(Activity arg5, Question arg6, String arg7) {

        this.a = arg6;
        this.b = new com.ss.android.wenda.d.a(arg5, arg7, this.a);
        com.ss.android.wenda.d.a v0 = this.b;
        ShareData v1 = this.a.mShareData;
        String v2 = this.a.mShareData.mShareSource;
        v0.a = v1;
        if(v0.b == null) {
            v0.b = new JSONObject();
        }

        if(v1 != null) {
            try {
                v0.b.put("source", v2);
            }
            catch(Exception v0_1) {
            }
        }
    }

    public final boolean a(com.ss.android.article.share.entity.a arg2, View arg3, com.ss.android.article.share.c.a arg4) {
        return this.b.a(arg2, arg3, arg4);
    }
}

